package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author feihao
 * @version 1.0
 * @date 2021/7/10 19:14
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "user_like")
public class UserLike implements Serializable{

    private ObjectId id;
    private Long userId;
    private Long likeUserId;
    private Long created;
}
